home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C08 / Borland.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  3.6 KB  |  140 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C08
  7. # using the Borland compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Borland.makefile
  11.  
  12. # Note: this requires the upgrade from
  13. # www.Borland.com for successful compilation!
  14. CPP = Bcc32
  15. CPPFLAGS = -w-inl -w-csu -wnak
  16. OFLAG = -e
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     Safecons.exe \
  25.     Constag.exe \
  26.     ConstPointers.exe \
  27.     PointerAssignment.exe \
  28.     Constval.exe \
  29.     ConstReturnValues.exe \
  30.     ConstPointer.exe \
  31.     ConstTemporary.exe \
  32.     ConstInitialization.exe \
  33.     BuiltInTypeConstructors.exe \
  34.     EncapsulatingTypes.exe \
  35.     StringStack.exe \
  36.     EnumHack.exe \
  37.     ConstMember.exe \
  38.     Quoter.exe \
  39.     Castaway.exe \
  40.     Mutable.exe \
  41.     Volatile.exe 
  42.  
  43. test: all 
  44.     Safecons.exe  
  45.     Constag.exe  
  46.     ConstPointers.exe  
  47.     PointerAssignment.exe  
  48.     Constval.exe  
  49.     ConstReturnValues.exe  
  50.     ConstPointer.exe  
  51.     ConstTemporary.exe  
  52.     ConstInitialization.exe  
  53.     BuiltInTypeConstructors.exe  
  54.     EncapsulatingTypes.exe  
  55.     StringStack.exe  
  56.     EnumHack.exe  
  57.     ConstMember.exe  
  58.     Quoter.exe  
  59.     Castaway.exe  
  60.     Mutable.exe  
  61.     Volatile.exe  
  62.  
  63. bugs: 
  64.     @echo No compiler bugs in this directory!
  65.  
  66. Safecons.exe: Safecons.obj 
  67.     $(CPP) $(OFLAG)Safecons.exe Safecons.obj 
  68.  
  69. Constag.exe: Constag.obj 
  70.     $(CPP) $(OFLAG)Constag.exe Constag.obj 
  71.  
  72. ConstPointers.exe: ConstPointers.obj 
  73.     $(CPP) $(OFLAG)ConstPointers.exe ConstPointers.obj 
  74.  
  75. PointerAssignment.exe: PointerAssignment.obj 
  76.     $(CPP) $(OFLAG)PointerAssignment.exe PointerAssignment.obj 
  77.  
  78. Constval.exe: Constval.obj 
  79.     $(CPP) $(OFLAG)Constval.exe Constval.obj 
  80.  
  81. ConstReturnValues.exe: ConstReturnValues.obj 
  82.     $(CPP) $(OFLAG)ConstReturnValues.exe ConstReturnValues.obj 
  83.  
  84. ConstPointer.exe: ConstPointer.obj 
  85.     $(CPP) $(OFLAG)ConstPointer.exe ConstPointer.obj 
  86.  
  87. ConstTemporary.exe: ConstTemporary.obj 
  88.     $(CPP) $(OFLAG)ConstTemporary.exe ConstTemporary.obj 
  89.  
  90. ConstInitialization.exe: ConstInitialization.obj 
  91.     $(CPP) $(OFLAG)ConstInitialization.exe ConstInitialization.obj 
  92.  
  93. BuiltInTypeConstructors.exe: BuiltInTypeConstructors.obj 
  94.     $(CPP) $(OFLAG)BuiltInTypeConstructors.exe BuiltInTypeConstructors.obj 
  95.  
  96. EncapsulatingTypes.exe: EncapsulatingTypes.obj 
  97.     $(CPP) $(OFLAG)EncapsulatingTypes.exe EncapsulatingTypes.obj 
  98.  
  99. StringStack.exe: StringStack.obj 
  100.     $(CPP) $(OFLAG)StringStack.exe StringStack.obj 
  101.  
  102. EnumHack.exe: EnumHack.obj 
  103.     $(CPP) $(OFLAG)EnumHack.exe EnumHack.obj 
  104.  
  105. ConstMember.exe: ConstMember.obj 
  106.     $(CPP) $(OFLAG)ConstMember.exe ConstMember.obj 
  107.  
  108. Quoter.exe: Quoter.obj 
  109.     $(CPP) $(OFLAG)Quoter.exe Quoter.obj 
  110.  
  111. Castaway.exe: Castaway.obj 
  112.     $(CPP) $(OFLAG)Castaway.exe Castaway.obj 
  113.  
  114. Mutable.exe: Mutable.obj 
  115.     $(CPP) $(OFLAG)Mutable.exe Mutable.obj 
  116.  
  117. Volatile.exe: Volatile.obj 
  118.     $(CPP) $(OFLAG)Volatile.exe Volatile.obj 
  119.  
  120.  
  121. Safecons.obj: Safecons.cpp 
  122. Constag.obj: Constag.cpp 
  123. ConstPointers.obj: ConstPointers.cpp 
  124. PointerAssignment.obj: PointerAssignment.cpp 
  125. Constval.obj: Constval.cpp 
  126. ConstReturnValues.obj: ConstReturnValues.cpp 
  127. ConstPointer.obj: ConstPointer.cpp 
  128. ConstTemporary.obj: ConstTemporary.cpp 
  129. ConstInitialization.obj: ConstInitialization.cpp 
  130. BuiltInTypeConstructors.obj: BuiltInTypeConstructors.cpp 
  131. EncapsulatingTypes.obj: EncapsulatingTypes.cpp 
  132. StringStack.obj: StringStack.cpp 
  133. EnumHack.obj: EnumHack.cpp 
  134. ConstMember.obj: ConstMember.cpp 
  135. Quoter.obj: Quoter.cpp 
  136. Castaway.obj: Castaway.cpp 
  137. Mutable.obj: Mutable.cpp 
  138. Volatile.obj: Volatile.cpp 
  139.  
  140.